<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>在线任务发布系统任务列表</title>
    <link href="/mytaskrelease/Public/Home/css/bootstrap.min.css" rel="stylesheet">
    <link href="/mytaskrelease/Public/Home/css/app.css" rel="stylesheet">
    <style>
        .td-one{width:32%;}
        .td-two{height:57px;overflow: hidden; width:56%;}
        .td-three{width:10%;}
    </style>
</head>
<body >
    <div class="app-header">
        <b><a class="return_a" href="<?php echo U('index');?>">< 在线任务发布系统</a></b>
    </div>
    <div class="container-fluid">
        <!--我的头部-->
        <div class="row myself-con-head text-center" >
            <div><img src="/mytaskrelease/Application/Public/Uploads/<?php if(empty($Userinfo["userpho"])): ?>me.jpg<?php else: echo ($Userinfo["userpho"]); endif; ?> " class="img-circle"></div>
            <div><?php echo ($Userinfo["nickname"]); ?></div>
        </div>
        <div class="row myself-con-tag text-center">
            <div class="col-xs-4">
                <div class="myself-con-tag1" id="mycard"><?php echo ($Userinfo["usercard"]); ?></div>
                <div class="myself-con-tag2">已连续打卡</div>
            </div>
            <div class="col-xs-4">
                <div class="myself-con-tag1"><?php echo ($Userinfo["age"]); ?></div>
                <div class="myself-con-tag2">成长日龄</div>
            </div>
            <div class="col-xs-4">
                <div class="myself-con-tag1"><?php echo ($Userinfo["billnum"]); ?></div>
                <div class="myself-con-tag2">总预约数字</div>
            </div>
        </div>
        <!--我的主体-->
        <div class="row myselfreminder-con-main" style="padding-bottom: 50px">
            <!--消息提醒-->
            <h4><b><?php if(!empty($tempworklist)): ?>| 我的任务列表<?php endif; ?></b></h4>
            <table class="table" style="table-layout:fixed">
                <?php if(is_array($list)): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><tr>
                        <td class="td-one"><b>
                           <?php echo (date('y-m-d H:i',$vo["finish_time"])); ?><br/>tag:<?php echo ($vo["classtag"]); ?>
                        </b></td>
                        <td class="td-two"><?php echo ($vo["remark"]); ?></td>
                        <td class="td-three">
                            <a href="<?php echo U('add');?>?id=<?php echo ($vo["id"]); ?>"  class="btn btn-primary btn-sm">编辑</a>
                            <a href="<?php echo U('delete');?>?id=<?php echo ($vo["id"]); ?>" style="margin-top:5px;" onclick="if (confirm('确定要删除吗？')) return true; else return false;" class="btn btn-primary btn-sm">删除</a>
                        </td>
                    </tr><?php endforeach; endif; else: echo "" ;endif; ?>

            </table>
        </div>

    </div>
    <script src="/mytaskrelease/Public/Home/js/jquery.min.js"></script>
    <script src="/mytaskrelease/Public/Home/js/bootstrap.min.js"></script>
</body>
</html>